package com.wise.summer.v1.portal.content.categorys;

import com.wise.framework.annotations.ApiInfo;
import com.wise.framework.annotations.Publish;
import com.wise.framework.annotations.SkipUserAuth;
import com.wise.framework.daoannotations.Column;
import com.wise.framework.summer.BasicSummer;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Tolerate;

import java.util.List;

/**
 * @author shaoming
 * @date 2019-09-10
 */
@Getter
@Setter
@Publish
@SkipUserAuth
@ApiInfo("获取 产品/行业 分类列表")
public class ListCategorys extends BasicSummer<List<ListCategorys.Result>> {

	@ApiInfo("0产品、1行业")
	private Integer categoryType;

	@Getter
	@Setter
	@Builder
	public static class Result {

		@Column("id")
		private String id;

		@Column("category_name")
		private String categoryName;

		private String alias;

		private String path;

		private String fileName;

		@Tolerate
		public Result() {

		}
	}

}
